package edu.zut.hb.software.train.Machine.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;




@Table(name="T_StationSize")  //表名
@Entity    //实体
/*@NamedQueries({ @NamedQuery(name = "Customer.getRoot", query = "select g from Customer g where g.parent is null") })*/
public class Machine extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -31279394964769200L;
	
    @Id
	@Column(name = "Id")
	Long id;
	
	@Column(name = "QRWide")
	int qrwide;
 
	@Column(name = "QRHight")
	int qrhight;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getQrwide() {
		return qrwide;
	}

	public void setQrwide(int qrwide) {
		this.qrwide = qrwide;
	}

	public int getQrhight() {
		return qrhight;
	}

	public void setQrhight(int qrhight) {
		this.qrhight = qrhight;
	}

	@Override
	public String toString() {
		return "Machine [id=" + id + ", qrwide=" + qrwide + ", qrhight=" + qrhight + "]";
	}


    
   



	
	
	
}